<%@page import="com.ambow.entity.User"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
<head>
<title>Account</title>
<link href="<%=path%>/pages/css/bootstrap.css" rel="stylesheet"
	type="text/css" media="all" />
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="<%=path%>/pages/js/jquery.min.js"></script>
<!-- Custom Theme files -->
<!--theme-style-->
<link href="<%=path%>/pages/css/style.css" rel="stylesheet"
	type="text/css" media="all" />
<!--//theme-style-->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords"
	content="I-wear Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template, 
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" />
<script type="application/x-javascript">
	
	 addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } 

</script>
<script type="text/javascript" src="js/move-top.js"></script>
<script type="text/javascript" src="js/easing.js"></script>
<!--fonts-->
<link href='http://fonts.useso.com/css?family=Lato:100,300,400,700,900'
	rel='stylesheet' type='text/css'>
<link href='http://fonts.useso.com/css?family=Montez' rel='stylesheet'
	type='text/css'>
<!--//fonts-->
<!-- start menu -->
<!--//slider-script-->
<script src="<%=path%>/pages/js/easyResponsiveTabs.js"
	type="text/javascript"></script>
<script type="text/javascript">
	$(document).ready(function() {
		$('#horizontalTab').easyResponsiveTabs({
			type : 'default', //Types: default, vertical, accordion           
			width : 'auto', //auto or any width like 600px
			fit : true
		// 100% fit in a container
		});
	});
</script>
<!-- Bootstrap core JavaScript
    ================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<!-- js -->
<script src="<%=path%>/pages/js/bootstrap.js"></script>
<!-- js -->
<script src="<%=path%>/pages/js/simpleCart.min.js">
	
</script>
<!-- start menu -->
<link href="<%=path%>/pages/css/memenu.css" rel="stylesheet"
	type="text/css" media="all" />
<script type="text/javascript" src="<%=path%>/pages/js/memenu.js"></script>
<script>
	$(document).ready(function() {
		$(".memenu").memenu();
	});
</script>
<!-- /start menu -->
<script>
	function yan() {
		if (frm.account.value == "") {
			alert("账号不能为空！");
			document.frm.account.focus();
			return (false);
		}else if (frm.pwd.value == "") {
			alert("密码不能为空！");
			document.frm.pwd.focus();
			return (false);
		}
	}
</script>
</head>


<body>
	<!--header-->
	<div class="header-info">
		<div class="container">
			<div class="header-top-in">

				<ul class="support">
					<li><a href="mailto:info@example.com"><i
							class="glyphicon glyphicon-envelope"> </i>info@example.com</a></li>
					<li><span><i class="glyphicon glyphicon-earphone"
							class="tele-in"> </i>0 462 261 61 61</span></li>
				</ul>
				<ul class=" support-right">
					<%
						User user = (User) session.getAttribute("login");
						if (user != null) {
					%>
					<li><%=user.getAccount()%></li>

					<%
						} else {
					%>
					<li><a href="<%=path %>/pages/account.jsp"> <i
							class="glyphicon glyphicon-lock" class="tele"> </i>LOGIN
					</a></li>
					<li><a href="<%=path %>/pages/register.jsp"> <i
							class="glyphicon glyphicon-lock" class="tele"> </i>REGISTER
					</a></li>
					<%
						}
					%>
				</ul>
				<div class="clearfix"></div>
			</div>
		</div>
	</div>
	<div class="header header5">
		<div class="header-top">

			<div class="header-bottom">
				<div class="container">
					<div class="logo">
						<h1>
							<a href="index.jsp">I-<span>wear</span></a>
						</h1>
					</div>
					<!---->

					<div class="top-nav">
						<ul class="memenu skyblue">
							<li class="active"><a href="<%=path%>/index.jsp">首页</a></li>
							<li class="grid"><a href="#">男性</a>
								<div class="mepanel">
									<div class="row">
										<div class="col1 me-one">
											<h4>品类</h4>
											<ul>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllT&type=太阳眼镜&kind=男性">太阳眼镜</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllT&type=时尚风镜&kind=男性">时尚风镜</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllT&type=经典护目镜&kind=男性">经典护目镜</a></li>

											</ul>
										</div>
										<div class="col1 me-one">
											<h4>款式</h4>
											<ul>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllL&label=复古&kind=男性">复古款</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllL&label=潮流&kind=男性">潮流款</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllL&label=经典&kind=男性">经典款</a></li>

											</ul>
										</div>
										<div class="col1 me-one">
											<h4>流行品牌</h4>
											<ul>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllB&brand=Levis&kind=男性">Levis</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllB&brand=Persol&kind=男性">Persol</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllB&brand=Nike&kind=男性">Nike</a></li>

											</ul>
										</div>
									</div>
								</div></li>
							<li class="grid"><a href="#">女性</a>
								<div class="mepanel">
									<div class="row">
										<div class="col1 me-one">
											<h4>品类</h4>
											<ul>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllT&type=太阳眼镜&kind=女性">太阳眼镜</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllT&type=时尚风镜&kind=女性">时尚风镜</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllT&type=经典护目镜&kind=女性">经典护目镜</a></li>

											</ul>
										</div>
										<div class="col1 me-one">
											<h4>款式</h4>
											<ul>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllL&label=复古&kind=女性">复古款</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllL&label=潮流&kind=女性">潮流款</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllL&label=经典&kind=女性">经典款</a></li>

											</ul>
										</div>
										<div class="col1 me-one">
											<h4>流行品牌</h4>
											<ul>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllB&brand=Levis&kind=女性">Levis</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllB&brand=Persol&kind=女性">Persol</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllB&brand=Nike&kind=女性">Nike</a></li>

											</ul>
										</div>
									</div>
								</div></li>
							<li class="grid"><a href="#">儿童</a>
								<div class="mepanel">
									<div class="row">
										<div class="col1 me-one">
											<h4>品类</h4>
											<ul>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllT&type=太阳眼镜&kind=儿童">太阳眼镜</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllT&type=时尚风镜&kind=儿童">时尚风镜</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllT&type=经典护目镜&kind=儿童">经典护目镜</a></li>

											</ul>
										</div>
										<div class="col1 me-one">
											<h4>款式</h4>
											<ul>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllL&label=复古&kind=儿童">复古款</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllL&label=潮流&kind=儿童">潮流款</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllL&label=经典&kind=儿童">经典款</a></li>

											</ul>
										</div>
										<div class="col1 me-one">
											<h4>流行品牌</h4>
											<ul>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllB&brand=Levis&kind=儿童">Levis</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllB&brand=Persol&kind=儿童">Persol</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllB&brand=Nike&kind=儿童">Nike</a></li>

											</ul>
										</div>
									</div>
								</div></li>
							<li class="grid"><a href="<%=path%>/Main">在线客服</a></li>
							<li class="grid"><a href="<%=path%>/NewsServlet?status=query&currentPage=0">关于我们</a></li>
							<li class="grid"><a
								href="<%=path%>/LeaveMessageServlet?status=all&currentPage=0">留言板</a></li>
						</ul>
						<div class="clearfix"></div>

						<div class="clearfix"></div>
						<!---->
					</div>

				</div>
				<div class="clearfix"></div>
			</div>
		</div>
		<!---->
		<div class="back">
			<h2>LOGIN</h2>
		</div>
		<!---->
		<div class="container">
			<div class="account_grid">
				<div class=" login-right">
					<h3>注册客户</h3>
					<p>如果您在我们这里有帐户，请登录。</p>
					<form action="<%=path%>/UserServlet?status=login" method="post"
						name="frm" onsubmit="return yan()">
						<div>
							<span>账号</span> <input type="text" name="account" id="account"
								style="width: 660px; height: 40px">
						</div>
						<div>
							<span>密码</span> <input type="password" name="pwd" id="pwd"
								style="width: 660px; height: 40px">
						</div>
						<input type="radio" value="user" name="degree" checked="ok">用户
						<input type="radio" value="admin" name="degree">管理员 <input
							type="submit" value="登录">
					</form>
				</div>
				<div class=" login-left">
					<h3>新客户</h3>
					<p>在我们的商店创建一个帐户，你的结帐过程更快，还可以存储多个送货地址，查看和跟踪您的订单。</p>
					<a class="acount-btn" href="register.jsp">注册</a>
				</div>

			</div>

		</div>
		<!---->
		<div class="bottom-grid1">

			<div class="fit1">
				<h3>HAPPY SHOPPING</h3>
				<p>“I LIKE MY STYLE, BE REAL,BE UNIQUE.”</p>
			</div>
		</div>
		<!---->
		<!---->
		<script type="text/javascript">
			$(document).ready(function() {
				/*
				var defaults = {
				containerID: 'toTop', // fading element id
				containerHoverID: 'toTopHover', // fading element hover id
				scrollSpeed: 1200,
				easingType: 'linear' 
				};
				 */
				$().UItoTop({
					easingType : 'easeOutQuart'
				});
			});
		</script>
		<a href="#to-top" id="toTop" style="display: block;"> <span
			id="toTopHover" style="opacity: 1;"> </span></a>
		<!---->
		<!---->
</body>
</html>